<div class="ciucoursestates view">
<h2><?php  __('Ciucoursestate');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $ciucoursestate['Ciucoursestate']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Name'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $ciucoursestate['Ciucoursestate']['name']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Ciucoursestate', true), array('action' => 'edit', $ciucoursestate['Ciucoursestate']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Ciucoursestate', true), array('action' => 'delete', $ciucoursestate['Ciucoursestate']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $ciucoursestate['Ciucoursestate']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Ciucoursestates', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Ciucoursestate', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Ciucourses', true), array('controller' => 'ciucourses', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Ciucourse', true), array('controller' => 'ciucourses', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Ciucourses');?></h3>
	<?php if (!empty($ciucoursestate['Ciucourse'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Ciulanguage Id'); ?></th>
		<th><?php __('Ciulevel Id'); ?></th>
		<th><?php __('Ciutimetable Id'); ?></th>
		<th><?php __('Ciuroom Id'); ?></th>
		<th><?php __('Ciuuser Id'); ?></th>
		<th><?php __('Ciucoursestate Id'); ?></th>
		<th><?php __('Ciuacademicperiod Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($ciucoursestate['Ciucourse'] as $ciucourse):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $ciucourse['id'];?></td>
			<td><?php echo $ciucourse['ciulanguage_id'];?></td>
			<td><?php echo $ciucourse['ciulevel_id'];?></td>
			<td><?php echo $ciucourse['ciutimetable_id'];?></td>
			<td><?php echo $ciucourse['ciuroom_id'];?></td>
			<td><?php echo $ciucourse['ciuuser_id'];?></td>
			<td><?php echo $ciucourse['ciucoursestate_id'];?></td>
			<td><?php echo $ciucourse['ciuacademicperiod_id'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'ciucourses', 'action' => 'view', $ciucourse['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'ciucourses', 'action' => 'edit', $ciucourse['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'ciucourses', 'action' => 'delete', $ciucourse['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $ciucourse['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Ciucourse', true), array('controller' => 'ciucourses', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
